﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GameSettings.aspx.cs" Inherits="smallDeimos.GameSettings" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Small Deimos - game settings</title>
     <link rel="stylesheet" type="text/css" href="SmallDeimos.css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DetailsView ID="DetailsView1" runat="server" Height="50px" Width="125px" 
            AutoGenerateRows="False" 
            DataSourceID="SqlDataSource1">
            <Fields>
                <asp:BoundField DataField="AttackBonus" HeaderText="AttackBonus" 
                    SortExpression="AttackBonus" />
                <asp:BoundField DataField="DefenseBonus" HeaderText="DefenseBonus" 
                    SortExpression="DefenseBonus" />
                <asp:BoundField DataField="GrowthBonus" HeaderText="GrowthBonus" 
                    SortExpression="GrowthBonus" />
                <asp:BoundField DataField="ScienceBonus" HeaderText="ScienceBonus" 
                    SortExpression="ScienceBonus" />
                <asp:BoundField DataField="SpeedBonus" HeaderText="SpeedBonus" 
                    SortExpression="SpeedBonus" />
                <asp:BoundField DataField="ProductionBonus" HeaderText="ProductionBonus" 
                    SortExpression="ProductionBonus" />
                <asp:BoundField DataField="CultureBonus" HeaderText="CultureBonus" 
                    SortExpression="CultureBonus" />
                <asp:BoundField DataField="MaxNumberOfPlayers" HeaderText="MaxNumberOfPlayers" 
                    SortExpression="MaxNumberOfPlayers" />
                <asp:BoundField DataField="MaxNumberOfSystems" HeaderText="MaxNumberOfSystems" 
                    SortExpression="MaxNumberOfSystems" />
                <asp:BoundField DataField="MinNumberOfPlanetsPerSystem" 
                    HeaderText="MinNumberOfPlanetsPerSystem" 
                    SortExpression="MinNumberOfPlanetsPerSystem" />
                <asp:BoundField DataField="MaxNumberOfPlanetsPerSystem" 
                    HeaderText="MaxNumberOfPlanetsPerSystem" 
                    SortExpression="MaxNumberOfPlanetsPerSystem" />
                <asp:BoundField DataField="ColonyShipPrice" HeaderText="ColonyShipPrice" 
                    SortExpression="ColonyShipPrice" />
                <asp:BoundField DataField="DestroyerPrice" HeaderText="DestroyerPrice" 
                    SortExpression="DestroyerPrice" />
                <asp:BoundField DataField="TransportPrice" HeaderText="TransportPrice" 
                    SortExpression="TransportPrice" />
                <asp:BoundField DataField="SmallUpdateInterval" 
                    HeaderText="SmallUpdateInterval" SortExpression="SmallUpdateInterval" />
                <asp:BoundField DataField="BigUpdateInterval" HeaderText="BigUpdateInterval" 
                    SortExpression="BigUpdateInterval" />
                <asp:BoundField DataField="PPpointsFromCS" HeaderText="PPpointsFromCS" 
                    SortExpression="PPpointsFromCS" />
            </Fields>
        </asp:DetailsView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:smallDeimosConnectionString %>" 
            SelectCommand="SELECT * FROM [Configuration]"></asp:SqlDataSource>
    </div>
    </form>
</body>
</html>
